div{
    margin: 10px;
    padding: 5px;
    background: antiquewhite;
}

#father{
    border: 1px #000 solid;
    /*overflow: hidden;*/
    background: #80D0C7;
}

#father:after{
    content: '';
    display: block;
    clear: both;
}

.layer01{
    border: 1px #F00 dashed;
    display: inline-block;
    float: right;
}

.layer02{
    border: 1px #165 dashed;
    display: inline-block;
    float: right;
}

.layer03{
    border: 1px #215 dashed;
    display: inline-block;
    float: right;
}

.layer04{
    border: 1px #F00 dashed;
    font-size: 12px;
    line-height: 23px;
    display: inline-block;
    float: right;
    clear: both;  /*不浮动*/

}

.clear{
    margin: 0;
    padding: 0;
    clear: both;
}


